#ifndef BOB_H
#define BOB_H


#include <QtGui>
#include "nest.h"

class Bob : public QLabel
{
    Q_OBJECT
public:
    explicit Bob(int id, int plid, QColor col, QWidget *parent = 0);
    enum States {
        unused,
        ingame,
        taken
    };
    States state;
    int id;
    int plid;
    QColor col;
    Nest* nest;


    QRadialGradient* grad;

signals:
    void got_me(Bob*);

public slots:
    void mousePressEvent(QMouseEvent *ev);
    void resizeEvent(QResizeEvent *e);
//    void dragEnterEvent(QDragEnterEvent *);
//    void dragMoveEvent(QDragMoveEvent *);

};

#endif // BOB_H
